<?php
/**
 * Created by PhpStorm.
 * User: allen
 * Date: 2019/3/8
 * Time: 12:51
 */

namespace app\index\validate;

use think\Validate;

class CommentReply extends Validate{
    protected $rule =   [
        'cid'  => 'require',
        'mid' => 'require',
        'content'=> 'require'
    ];

    protected $message  =   [
        'aid.require' => '留言id必须',
        'mid.require'     => '用户id必须',
        'content.require'   => '回复内容必须'
    ];
}
